#ifndef UPDATEVIEW_H
#define UPDATEVIEW_H

#include <QWidget>
#include <QProgressBar>
#include <QMessageBox>
#include <QTextEdit>

class UpdateView : public QWidget
{
    Q_OBJECT
public:
    explicit UpdateView(QWidget *parent = nullptr);
    void msgBoxShow(QString msg);
    void msgBoxClose();
    void outPutLog(QString log);
    void clearLog();

private:
    QProgressBar *progressBar;
    QMessageBox   msgBox;
    QTextEdit *   logtext;

signals:

public slots:
    void httpdownloadProgress(qint64 bytesReceived, qint64 bytesTotal);
};

#endif  // UPDATEVIEW_H
